
//
//  HJRefuseCell.m
//  project
//
//  Created by jc on 2019/5/15.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJRefuseCell.h"
#import "HJChatTextMsgModel.h"
#import "YFJourneyModel.h"

@interface HJRefuseCell ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIButton *refuseBtn;

@end
@implementation HJRefuseCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    [self.bgView rounded:UIRectCornerAllCorners radius:self.bgView.height/2];
}


-(void)loadData:(HJSimpleModel *)model {
    
    NSString * string = [NSString stringWithFormat:@"%@有其他安排，下次吧！",model.data.user.nickName];
    [self.refuseBtn setTitle:string forState:0];
}
@end
